package cn.dubito.o2o.dao;

import cn.dubito.o2o.domian.entity.Shop;

/**
 * @author liliang
 * @description:
 * @date 2018/4/18.
 */
public interface ShopDao {

    /**
     * 主键查询
     *
     * @param id
     * @return shop
     */
    Shop queryById(Long id);


    /**
     * 新增店铺
     *
     * @param shop
     * @return int
     */
    int insertShop(Shop shop);

    /**
     * 更新店铺信息
     *
     * @param shop
     * @return int
     */
    int updateShop(Shop shop);
}
